// JavaScript Document
function initiateUser()
{
	var username = $("#txtUsername");
	var password = $("#txtPassword");
	
	$("#loader_area").show();
		$("#loader_area").html('<img src="images/shared/loader.gif" /> Please wait while validating user');
	
	$.ajax({		
		url: 'controller.do?task=<?php echo base64_encode("authuser"); ?>',
		type: 'POST',
		//data: ({customer_code: customer_code, quotation_id: quotation_id}),		
		success: function(data) {
			if(data != '') {
				alert(data);
			}
		},
		complete: function complete(XMLHttpRequest, textStatus){
			$("#loader_area").hide();
		}
	})
}